<template>
  <div id="h" class="home">
    
  </div>
</template>

<script>
import d1 from '@/components/hooks/demo.vue'
import {getEl} from '@/utils'
export default {
  name: 'Home',
  components:{d1},
  data() {
    return {}
  },
  mounted(){
    let el=getEl(d1,{
      sb:'sb',
      name:'老王'
    })
    document.querySelector('#h').appendChild(el)
  },
  methods: {
   
  }
}
</script>

<style lang='less' scoped>
.home{
}
</style>
